{extend name="iframe" /}
{block name="css"}
{css href="__CSS__/news.css" /}
{/block}
{block name="body"}
<!-- 主要内容 开始 -->
<div class="news">
    {volist name="$data" id="v" key="k" empty="$empty"}
    <div class="news-list">
        <div class="container">
            <div class="news-item">
                <div class="news-item-left">
                    <a href="/detail/code/{$v.id|default=''}.html">
                        <h3 class="left-title">{$v.name|default=''}</h3>
                    </a>
                    <div class="left-txtdate">
                        <a href="/detail/code/{$v.id|default=''}.html">
                            <p class="left-txt" style="overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;">
                                {$v.article_brief|raw}
                            </p>
                        </a>
                        <p class="left-date" >{$v.create_time|date='Y-m-d H:i:s'}</p>
                    </div>
                </div>
                <div class="news-item-right">
                    <a href="/detail/code/{$v.id|default=''}.html">
                    <img class="right-img" src="{$v.img|default='http://static-source.wukongzhanggui.com/images/20190928/5d8eb50e70116.png'}" alt="{$v.name|default=''}">
                    </a>
                </div>
            </div>
        </div>
    </div>
    {/volist}
    <div class="c-pagination">
        <div class="container nopadding flex">
            <a class="pre" href="javascript:void(0)">
                <img class="icon default" src="__IMG__/icon_page_pre_active.png" alt="">
                <img class="icon active" src="__IMG__/icon_page_pre_active.png" alt="">
            </a>
            <a class="page active">1</a>
            <!-- <a class="page" href="news.html?page=2">2</a>
            <a class="page" href="news.html?page=3">3</a>
            <a class="page" href="news.html?page=6">6</a> -->
            <a class="pre" href="javascript:void(0)">
                <img class="icon default" src="__IMG__/icon_page_next_active.png" alt="">
                <img class="icon active" src="__IMG__/icon_page_next_active.png" alt="">
            </a>
        </div>
    </div>

         <!--分页-->
</div>
<!-- 主要内容 结束 -->
{/block}
{block name="js"}
{/block}